package cn.com.util;

public class Text {
	public static boolean isEmpty(Object o) {
		return o == null || o.toString().trim().isEmpty();
	}

	public static boolean isNotEmpty(Object o) {
		return !Text.isEmpty(o);
	}

	public static void log(Object o) {
		if (o == null)
			return;
		System.out.println(o.toString());
	}
}
